package com.culture.config.service;

import com.culture.config.model.po.*;
import com.culture.config.model.vo.*;
import com.github.pagehelper.Page;

public interface InstanceService {
    RegistrationVO register(RegistrationPO param);
	void heartbeat(String id);
	void unRegister(String id);	
	Page<AppInstanceVO> page(AppInstancePagePO appInstancePagePO);
	
	AppInstanceProxyVO proxy(AppInstanceProxyPO appInstanceProxyPO);
	void refreshConfiguration(AppInstanceRefreshPO refreshPO);
	void refreshConfiguration(PropertyRefreshPO refreshPO);	
}
